package com.lhgray.sglhome.domain.model

/**
 * 作者：lhgray on 2025/3/25.
 * 邮箱：lhgray@163.com
 * 文件：com.lhgray.sglhome.net.data
 *  扫码获取到的订单的信息
 *
 *  {
 *   "code": 200,
 *   "message_cn": "数据载入成功",
 *   "message_en": "Data Load Successfully",
 *   "data": {
 *     "source": {
 *       "source_table": "ai_hbl_profile",
 *       "source_id": 14214,
 *       "update_user": "",
 *       "update_date": null
 *     },
 *     "list_item_label": [
 *       {
 *         "show_title": "HAWB #",
 *         "item_type": 10,
 *         "item_text": "112-19147645",
 *         "sort_by": 10
 *       },
 *       {
 *         "show_title": "Customer Ref#",
 *         "item_type": 20,
 *         "item_text": "",
 *         "sort_by": 20
 *       },
 *       {
 *         "show_title": "Customer",
 *         "item_type": 30,
 *         "item_text": "ZHEJIANG JINLIAN INTERNATIONAL LOGISTICS CO., LTD",
 *         "sort_by": 30
 *       }
 *     ]
 *   }
 * }
 */
data class ListItemLabel(
    val show_title: String? = "",
    val item_type: Int? = 0,
    val item_text: String? = "",
    val sort_by: Int? = 0,
)

data class Source(
    val source_table: String? = "",
    val source_id: Int? = 0,
    val update_user: String? = "",
    val update_date: String? = "",
)

data class SourceData(
    val list_item_label: List<ListItemLabel> = emptyList(),
    val source: Source? = null,
)

/**
 * 订单的列表
 */
data class OrderList(
    val orderList: List<ListItemLabel> = emptyList()
)

